<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>查询结果</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<script type="text/javascript" src="${ctx}/script/order.js"></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
		<style>
<!--
body {
	margin: 0px;
	padding: 0px;
	font-family: "宋体", Basemic, "Arial Narrow";
	font-size: 12px;
}
-->
</style>
	</head>
	<body>
		<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
		<form action="${ctx}/addBillManage.do?method=normalSelect" method="post">
			<input type="hidden" name="orderindex.paystatus"
				value="${para.paystatus}" />
			<input type="hidden" name="orderindex.status" value="${para.status}" />
			<input type="hidden" name="orderindex.deliverstatus"
				value="${para.deliverstatus}" />
			<input type="hidden" name="wuliu" value="${wuliu}" />
			<input type="hidden" name="caiwu" value="${caiwu}" />
			<input type="hidden" name="dianzi" value="${dianzi}" />
			<input type="hidden" name="wuliu2" value="${wuliu2}" />
			<input type="hidden" name="orderindex.billstatus"
				value="${para.billstatus}" />
				<table>
				<tr>
					<td>
						订单号
					</td>
					<td>
						<input type="text" name="orderindex.id" />
					</td>
					<td>
						<input type="submit" class="btn" value="查询" />
					</td>
				</tr>
			</table>
			<table width="99%">
				<tr>
					<th nowrap class="td_01">
						<font size="2">订单号</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">备注</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">收货人</font>
					</th>
					<th  width="122px" class="td_01">
						<font size="2">城市</font>
					</th>
					<th nowrap width="80px" class="td_01">
						<font size="2">下单日期</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">货款金额</font>
					</th>
					<th nowrap width="80px" class="td_01">
						<font size="2">支付确认时间</font>
					</th>
					<th nowrap width="80px" class="td_01">
						<font size="2">发货时间</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">配送方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订单状态</font>
					</th>
				</tr>
				<logic:present name="DemoRange">
					<logic:iterate indexId="index" id="waitlist" name="DemoRange" property="records">
					<logic:notEmpty name="waitlist" property="cou">
						<tr>
							<td nowrap class="td_09">
							<font color="red">
								<a href="javascript:forward('${waitlist.id}','${index}','billDetialCaiLiu','${waitlist.customerid}','${wuliu}','${caiwu}','${wuliu2}','${dianzi}')">${waitlist.id}</a>
							</font></td>
							<td class="td_09" width="122px">
									<font size="2">${waitlist.attendtion}</font>
								</td>
									<td nowrap class="td_09">
								<font size="2">${waitlist.consignee}</font>
								<input type="hidden" name="orderindex.id"
					value="${waitlist.id}" />
							</td>
							<td class="td_09" width="122px">
								<font size="2">${waitlist.city}</font>
							</td>
							<td nowrap width="80px"class="td_09">
								<font size="2">${waitlist.adddate}</font>
							</td>
							<td nowrap class="td_09">
								<font size="2">${waitlist.orderprice}</font>
							</td>
							<td nowrap width="80px" class="td_09">
								<font size="2">${waitlist.payconfirmtime}</font>
							</td>
							<td nowrap width="80px" class="td_09">
								<font size="2">${waitlist.sendtime}</font>
							</td>
							<td nowrap class="td_09">
								<font size="2">${waitlist.pname}</font>
								
							</td>
								<td  class="td_09">
								<font size="2">${waitlist.dname}</font>
							</td>
							
							<td id="billstatus${index}" nowrap class="td_09">
								<font size="2"> ${waitlist.billstatus} </font>
							</td>
						</tr>
						</logic:notEmpty>
						
						<logic:empty name="waitlist" property="cou">
						<tr>
							<td nowrap class="td_03">
							<font color="red">
								<a href="javascript:forward('${waitlist.id}','${index}','billDetialCaiLiu','${waitlist.customerid}','${wuliu}','${caiwu}','${wuliu2}','${dianzi}')">${waitlist.id}</a>
							</font></td>
							<td class="td_03" width="122px">
									<font size="2">${waitlist.attendtion}</font>
								</td>
								<input type="hidden" name="orderindex.id"
					value="${waitlist.id}" />
							<td nowrap class="td_03">
								<font size="2">${waitlist.consignee}</font>
							</td>
							<td width="122px" class="td_03">
								<font size="2">${waitlist.city}</font>
							</td>
							<td nowrap  width="80px" class="td_03">
								<font size="2">${waitlist.adddate}</font>
							</td>
							<td nowrap class="td_03">
								<font size="2">${waitlist.orderprice}</font>
							</td>
							<td nowrap width="80px" class="td_03">
								<font size="2">${waitlist.payconfirmtime}</font>
							</td>
							<td nowrap width="80px" class="td_03">
								<font size="2">${waitlist.sendtime}</font>
							</td>
							<td nowrap class="td_03">
								<font size="2">${waitlist.pname}</font>
						<td nowrap class="td_03">
								<font size="2">${waitlist.dname}</font>
							</td>
							<td id="billstatus${index}" nowrap class="td_03">
								<font size="2"> ${waitlist.billstatus} </font>
							</td>
						</tr>
						</logic:empty>
					</logic:iterate>
				</logic:present>
				<tr>
					<td colspan="16" align="right">
						<font size="2"><%@ include file="/pages/safeai/jsp/common/page.jsp"%></font>
					</td>
				</tr>
			</table>
		</form>
	</body>
	<script type="text/javascript">
	function forward1(id,billstatus){
		location.href="${ctx}/addBillManage.do?method=billDetialCaiLiu&id="+id+"&billstatus=" + encodeURI(billstatus);
		}
	</script>
</html>
